package com.zyf.project.kvdb.protocol.proto;

import com.zyf.project.binaryproto.annotation.DataContract;
import com.zyf.project.binaryproto.annotation.DataField;
import com.zyf.project.kvdb.protocol.constants.Constants;

/**
 * <h1>数据库实例基础信息列表</h1>
 *
 * @author Zhou Yifan
 */
@DataContract(code = Constants.DATABASE_BASE_INFO_LIST)
public interface DatabaseBaseInfos {

    /**
     * 获取数据库基础信息列表
     *
     * @return {@link DatabaseBaseInfo} 类型数组
     */
    @DataField(order = 0, refContract = true, list = true)
    DatabaseBaseInfo[] getBaseInfos();

}
